#pragma once
#include<assert.h>
#include<stdio.h>
typedef int DataType;

typedef struct QueueNode {
	struct QueueNode * _next;
	DataType _data;
}QueueNode;

typedef struct queue {
	QueueNode* _head;
	QueueNode* _tail;
}queue;

void QueueInit(queue* pq);
void QueueDestory(queue* pq);
void QueuePush(queue* pq,DataType x);
void QueuePop(queue* pq);
int QueueFront(queue* pq);
int QueueBack(queue* pq);
int QueueEmpty(queue* pq);
int QueueSize(queue* pq);
